home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / More Source / C⁄C++ / Xconq 7.0d37 / source / test / Makefile.in < prev    next >
Encoding:
Makefile  |  1995-04-29  |  1.5 KB  |  77 lines  |  [TEXT/R*ch]

  1. # Makefile for Xconq tests.
  2. # Copyright (C) 1993, 1994, 1995 Stanley T. Shebs.
  3.  
  4. # Xconq is free software; you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation; either version 2, or (at your option)
  7. # any later version.
  8.  
  9. srcdir = .
  10.  
  11. SHELL = /bin/sh
  12.  
  13. # Host and target-dependent makefile fragments come in here.
  14. ####
  15. # End of host and target-dependent makefile fragments
  16.  
  17. all:
  18.  
  19. syms.diff:
  20.     $(srcdir)/symbol-diff $(srcdir) >syms.diff
  21.  
  22. src.uses:
  23.     $(srcdir)/src-uses.sh >src.uses
  24.  
  25. lib.uses:
  26.     $(srcdir)/lib-uses.sh >lib.uses
  27.  
  28. all.g.uses:    $(srcdir)/all.g
  29.     sed -e 's/;.*//' $(srcdir)/all.g | tr '() ' '\012' | grep -v xxx | sort | uniq >all.g.uses
  30.  
  31. check:    check-lib check-save check-test check-ai check-run check-long
  32.  
  33. check-lib:
  34.     echo Testing library...
  35.     $(srcdir)/test-lib $(srcdir)
  36.  
  37. check-save:
  38.     echo Testing save/restore...
  39.     $(srcdir)/test-save $(srcdir)
  40.  
  41. check-test:
  42.     echo Testing test cases...
  43.     $(srcdir)/test-test $(srcdir)
  44.  
  45. check-ai:
  46.     echo Testing AI...
  47.     $(srcdir)/test-ai $(srcdir)
  48.  
  49. check-run:
  50.     echo Testing running...
  51.     $(srcdir)/test-run $(srcdir)
  52.  
  53. check-long:
  54.     echo Testing long games...
  55.     $(srcdir)/test-long $(srcdir)
  56.  
  57. check_sync: syms.diff all.g.uses src.uses lib.uses
  58.  
  59. install: all install-only
  60.  
  61. install-only:
  62.  
  63. clean:
  64.     rm -f *.log core *.xconq
  65.  
  66. distclean: clean
  67.     rm -f *.sym *.syms *.uses *.diff
  68.     rm -f Makefile config.status
  69.  
  70. extraclean: distclean
  71.     rm -f *~* .*~*
  72.  
  73. realclean: distclean
  74.  
  75. Makefile: Makefile.in $(host_makefile_frag) $(target_makefile_frag)
  76.     $(SHELL) config.status
  77.